home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
-
- if [ "$1" = configure ]; then
- update-alternatives --install /usr/bin/x-session-manager \
- x-session-manager /usr/bin/gnome-session 50 \
- --slave /usr/share/man/man1/x-session-manager.1.gz \
- x-session-manager.1.gz /usr/share/man/man1/gnome-session.1.gz
- update-alternatives --install /usr/share/images/desktop-base/desktop-splash \
- desktop-splash /usr/share/pixmaps/splash/gnome-splash.png 10
- update-alternatives --install /usr/share/images/desktop-base/desktop-splash \
- desktop-splash /usr/share/pixmaps/splash/gnome-debian-splash.png 10
- fi
-
- # Automatically added by dh_gconf
- if [ "$1" = "configure" ]; then
- gconf-schemas --register gnome-session.schemas
- fi
- # End automatically added section
- # Automatically added by dh_desktop
- if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
- update-desktop-database -q
- fi
- # End automatically added section
- # Automatically added by dh_iconcache
- touch -m /usr/share/icons/hicolor
- if [ "$1" = configure ] && \
- [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
- [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
- [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
- [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
- gtk-update-icon-cache -q /usr/share/icons/hicolor
- fi
- # End automatically added section
-
-
- exit 0
-